package model.admin;

import java.sql.ResultSet;

import myutil.Connect;

public class ModifyDegreeMo {
	public Boolean deleteDegreeDetails(int degree_id) {

		String query = "";
		query = "update degree_details" +
				"   set status		=		0 " +
				" where degree_id	="	+   degree_id + ";";
		Connect c = new Connect();
		try {
			c.dml(query);
			return true;
		}

		catch (Exception e) {
			// TODO: handle exception
			return false;
		}

	}

}
